﻿<UserControl x:Class="PasswordProvider.View.Library.PasswordGeneratorControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:PasswordProvider.View.Library"
    Padding="20">
	<Grid VerticalAlignment="Center" >
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="26" />
            <ColumnDefinition Width="42*" />
            <ColumnDefinition Width="80*"/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="24"/>
			<RowDefinition Height="24"/>
			<RowDefinition Height="24" />
            <RowDefinition Height="29*" />
        </Grid.RowDefinitions>
		<CheckBox Name="_chkBoxDigits" Margin="3,0,17.547,1" IsChecked="True" VerticalAlignment="Center" Grid.ColumnSpan="2" Height="15.96">Digits</CheckBox>
		<CheckBox Name="_chkBoxPunct"  Grid.Row="1" Margin="3,0,18.09,1" IsChecked="True" VerticalAlignment="Center" Grid.ColumnSpan="2" Height="15.96">Punct</CheckBox>
		<CheckBox Name="_chkBoxSymbols" Grid.Row="2" Margin="3,0,3.4,1" IsChecked="True" VerticalAlignment="Center" Grid.ColumnSpan="2" Height="15.96">Symbols</CheckBox>
		<Label Margin="3,3,0,3" HorizontalAlignment="Left" Width="33" Grid.Column="2" Grid.RowSpan="2">Len:</Label>
        <local:MultiComboBox x:Name="_comboBoxLength" SelectionMode="Single" Grid.Column="2" SelectedIndex="7" Margin="34,5,6,0" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.RowSpan="2" Width="50" Height="24">
            <ComboBoxItem>8</ComboBoxItem>
            <ComboBoxItem>9</ComboBoxItem>
            <ComboBoxItem>10</ComboBoxItem>
            <ComboBoxItem>11</ComboBoxItem>
            <ComboBoxItem>12</ComboBoxItem>
            <ComboBoxItem>13</ComboBoxItem>
            <ComboBoxItem>14</ComboBoxItem>
            <ComboBoxItem>15</ComboBoxItem>
            <ComboBoxItem>16</ComboBoxItem>
            <ComboBoxItem>17</ComboBoxItem>
            <ComboBoxItem>18</ComboBoxItem>
            <ComboBoxItem>19</ComboBoxItem>
            <ComboBoxItem>20</ComboBoxItem>
            <ComboBoxItem>21</ComboBoxItem>
            <ComboBoxItem>22</ComboBoxItem>
            <ComboBoxItem>23</ComboBoxItem>
            <ComboBoxItem>24</ComboBoxItem>
            <ComboBoxItem>25</ComboBoxItem>
            <ComboBoxItem>26</ComboBoxItem>
        </local:MultiComboBox>
		<Button Name="_buttonDoGeneration" Grid.Row="1" Grid.Column="2" Margin="14,23,6,1" Click="_buttonDoGeneration_Click" Grid.RowSpan="2">Generate</Button>
	</Grid>


</UserControl>
